import { srvHttp } from '@/api/srvHttp'

//查询
export function selectOrderAdmin(data) {
    return srvHttp({
        url: '/myapi/order_details/selectAdmin',
        method: 'POST',
        data: data
    })
}
//删除
export function delOrderByOrder_code(order_code) {
    return srvHttp({
        url: `/myapi/order/delByOrder_code?order_code=${order_code}`,
        method: 'GET',
    })
}
//更改
export function updateOrder(data) {
    return srvHttp({
        url: '/myapi/order/update',
        method: 'POST',
        data: data
    })
}